import { createApp } from 'vue'
import { createPinia } from 'pinia';
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";

// 移动端项目，改用 Vant UI 库
import Vant from 'vant';
import 'vant/lib/index.css';

import router from './router'
import App from './App.vue'
import './style.css'

// 状态管理
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);

createApp(App).use(router).use(pinia).use(Vant).mount('#app')
